//
//  KYClassModel.m
//  kuaiyi
//
//  Created by 杨亮 on 16/3/12.
//  Copyright © 2016年 kuaiyi. All rights reserved.
//

#import "KYClassModel.h"
#import <MJExtension.h>

@implementation KYClassModel
+(NSArray *)getClassModel{
    NSMutableArray *tempArray = [NSMutableArray arrayWithCapacity:6];
    NSArray *array = [NSArray arrayWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"Class.plist" ofType:nil]];
    for (NSDictionary *dict in array) {
        KYClassModel *model = [KYClassModel mj_objectWithKeyValues:dict];
        [tempArray addObject:model];
    }    
    return tempArray.copy;
}
@end
